From 0a8e010308fe04d62a718d0cdbf27eed346a90a4 Mon Sep 17 00:00:00 2001 From: Victor Vasiliev Date: Sat, 12 Jan 2008 12:31:20 +0000 Subject: [PATCH] * (bug 12536) User should be able to get MediaWiki version from any page --- RELEASE-NOTES | 1 + includes/Skin.php | 1 + 2 files changed, 2 insertions(+) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 1ecb203fbf..9746d75190 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -124,6 +124,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Added exception hooks * (bug 12574) Allow bots to specify whether an edit should be marked as a bot edit, via the parameter 'bot'. (Default: '1') +* (bug 12536) User should be able to get MediaWiki version from any page === Bug fixes in 1.12 === diff --git a/includes/Skin.php b/includes/Skin.php index 9d00e1d68d..92180b613e 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -325,6 +325,7 @@ class Skin extends Linker { 'wgContentLanguage' => $wgContLang->getCode(), 'wgBreakFrames' => $wgBreakFrames, 'wgCurRevisionId' => isset( $wgArticle ) ? $wgArticle->getLatest() : 0, + 'wgMWVersion' => SpecialVersion::getVersion(), ); global $wgLivePreview; -- 2.20.1